package com.bl.student.dao.repository;

import com.bl.student.dao.model.SalivaHistoryEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by yujingyi on 2018/3/17.
 */
public interface SalivaHistoryRepository extends JpaRepository<SalivaHistoryEntity, String> {

    Page<SalivaHistoryEntity> findAllByOrderByUpdateTimeDesc(Pageable pageable);

}
